home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / cbezier.6 < prev    next >
Text File  |  1996-07-16  |  658b  |  23 lines

  1. .TH CBEZIER
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. CBEZIER
  5.  
  6.  
  7.  
  8.  CurveType CBEZIER( ListType CtlPtList )
  9.  
  10. Creates a Bezier curve out of the provided control point list. CtlPtList
  11. is a list of control points, all of which must be of type (E1-E5, P1-P5),
  12. or regular PointType defining the curve's control polygon. Curve's point type
  13. will be of a space which is the union of the spaces of all points.
  14.  
  15. Example:
  16.  
  17.     s45 = sin(pi / 4);
  18.     Arc90 = CBEZIER( list( ctlpt( P2, 1.0, 0.0, 1.0 ),
  19.                            ctlpt( P2, s45, s45, s45 ),
  20.                            ctlpt( P1, 1.0, 1.0 ) ) );
  21.  
  22. constructs an arc of 90 degrees as a rational quadratic Bezier curve.
  23.